﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Setting_do_DelDept : SessionPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!string.IsNullOrEmpty(Request.Params["delid"]))
        {
            string delid = Request.Params["delid"];

            LogicLayer mgr = new LogicLayer();

            if (mgr.DelDepartment(delid))
                Response.Write("ok");
            else
                Response.Write("failed");
        }
    }
}